

/* this ALWAYS GENERATED file contains the definitions for the interfaces */


 /* File created by MIDL compiler version 8.01.0622 */
/* @@MIDL_FILE_HEADING(  ) */



/* verify that the <rpcndr.h> version is high enough to compile this file*/
#ifndef __REQUIRED_RPCNDR_H_VERSION__
#define __REQUIRED_RPCNDR_H_VERSION__ 500
#endif

/* verify that the <rpcsal.h> version is high enough to compile this file*/
#ifndef __REQUIRED_RPCSAL_H_VERSION__
#define __REQUIRED_RPCSAL_H_VERSION__ 100
#endif

#include "rpc.h"
#include "rpcndr.h"

#ifndef __RPCNDR_H_VERSION__
#error this stub requires an updated version of <rpcndr.h>
#endif /* __RPCNDR_H_VERSION__ */

#ifndef COM_NO_WINDOWS_H
#include "windows.h"
#include "ole2.h"
#endif /*COM_NO_WINDOWS_H*/

#ifndef __proofofpossessioncookieinfo_h__
#define __proofofpossessioncookieinfo_h__

#if defined(_MSC_VER) && (_MSC_VER >= 1020)
#pragma once
#endif

/* Forward Declarations */ 

#ifndef __IProofOfPossessionCookieInfoManager_FWD_DEFINED__
#define __IProofOfPossessionCookieInfoManager_FWD_DEFINED__
typedef interface IProofOfPossessionCookieInfoManager IProofOfPossessionCookieInfoManager;

#endif 	/* __IProofOfPossessionCookieInfoManager_FWD_DEFINED__ */


#ifndef __ProofOfPossessionCookieInfoManager_FWD_DEFINED__
#define __ProofOfPossessionCookieInfoManager_FWD_DEFINED__

#ifdef __cplusplus
typedef class ProofOfPossessionCookieInfoManager ProofOfPossessionCookieInfoManager;
#else
typedef struct ProofOfPossessionCookieInfoManager ProofOfPossessionCookieInfoManager;
#endif /* __cplusplus */

#endif 	/* __ProofOfPossessionCookieInfoManager_FWD_DEFINED__ */


/* header files for imported files */
#include "oaidl.h"
#include "ocidl.h"

#ifdef __cplusplus
extern "C"{
#endif 


/* interface __MIDL_itf_proofofpossessioncookieinfo_0000_0000 */
/* [local] */ 

#include <winapifamily.h>
#pragma region Desktop Family
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
typedef struct ProofOfPossessionCookieInfo
    {
    LPWSTR name;
    LPWSTR data;
    DWORD flags;
    LPWSTR p3pHeader;
    } 	ProofOfPossessionCookieInfo;

__inline void FreeProofOfPossessionCookieInfoArray(_In_reads_(cookieInfoCount) ProofOfPossessionCookieInfo* cookieInfo, DWORD cookieInfoCount)
{                                                
     DWORD i;                                    
     for (i = 0; i < cookieInfoCount; i++)       
     {                                           
         CoTaskMemFree(cookieInfo[i].name);      
         CoTaskMemFree(cookieInfo[i].data);      
         CoTaskMemFree(cookieInfo[i].p3pHeader); 
     }                                           
     CoTaskMemFree(cookieInfo);                  
}                                                


extern RPC_IF_HANDLE __MIDL_itf_proofofpossessioncookieinfo_0000_0000_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_proofofpossessioncookieinfo_0000_0000_v0_0_s_ifspec;

#ifndef __IProofOfPossessionCookieInfoManager_INTERFACE_DEFINED__
#define __IProofOfPossessionCookieInfoManager_INTERFACE_DEFINED__

/* interface IProofOfPossessionCookieInfoManager */
/* [unique][uuid][object] */ 


EXTERN_C const IID IID_IProofOfPossessionCookieInfoManager;

#if defined(__cplusplus) && !defined(CINTERFACE)
    
    MIDL_INTERFACE("CDAECE56-4EDF-43DF-B113-88E4556FA1BB")
    IProofOfPossessionCookieInfoManager : public IUnknown
    {
    public:
        virtual HRESULT STDMETHODCALLTYPE GetCookieInfoForUri( 
            /* [in] */ __RPC__in LPCWSTR uri,
            /* [out] */ __RPC__out DWORD *cookieInfoCount,
            /* [size_is][size_is][out] */ __RPC__deref_out_ecount_full_opt(*cookieInfoCount) ProofOfPossessionCookieInfo **cookieInfo) = 0;
        
    };
    
    
#else 	/* C style interface */

    typedef struct IProofOfPossessionCookieInfoManagerVtbl
    {
        BEGIN_INTERFACE
        
        HRESULT ( STDMETHODCALLTYPE *QueryInterface )( 
            __RPC__in IProofOfPossessionCookieInfoManager * This,
            /* [in] */ __RPC__in REFIID riid,
            /* [annotation][iid_is][out] */ 
            _COM_Outptr_  void **ppvObject);
        
        ULONG ( STDMETHODCALLTYPE *AddRef )( 
            __RPC__in IProofOfPossessionCookieInfoManager * This);
        
        ULONG ( STDMETHODCALLTYPE *Release )( 
            __RPC__in IProofOfPossessionCookieInfoManager * This);
        
        HRESULT ( STDMETHODCALLTYPE *GetCookieInfoForUri )( 
            __RPC__in IProofOfPossessionCookieInfoManager * This,
            /* [in] */ __RPC__in LPCWSTR uri,
            /* [out] */ __RPC__out DWORD *cookieInfoCount,
            /* [size_is][size_is][out] */ __RPC__deref_out_ecount_full_opt(*cookieInfoCount) ProofOfPossessionCookieInfo **cookieInfo);
        
        END_INTERFACE
    } IProofOfPossessionCookieInfoManagerVtbl;

    interface IProofOfPossessionCookieInfoManager
    {
        CONST_VTBL struct IProofOfPossessionCookieInfoManagerVtbl *lpVtbl;
    };

    

#ifdef COBJMACROS


#define IProofOfPossessionCookieInfoManager_QueryInterface(This,riid,ppvObject)	\
    ( (This)->lpVtbl -> QueryInterface(This,riid,ppvObject) ) 

#define IProofOfPossessionCookieInfoManager_AddRef(This)	\
    ( (This)->lpVtbl -> AddRef(This) ) 

#define IProofOfPossessionCookieInfoManager_Release(This)	\
    ( (This)->lpVtbl -> Release(This) ) 


#define IProofOfPossessionCookieInfoManager_GetCookieInfoForUri(This,uri,cookieInfoCount,cookieInfo)	\
    ( (This)->lpVtbl -> GetCookieInfoForUri(This,uri,cookieInfoCount,cookieInfo) ) 

#endif /* COBJMACROS */


#endif 	/* C style interface */




#endif 	/* __IProofOfPossessionCookieInfoManager_INTERFACE_DEFINED__ */



#ifndef __ProofOfPossessionCookieInfoManagerLib_LIBRARY_DEFINED__
#define __ProofOfPossessionCookieInfoManagerLib_LIBRARY_DEFINED__

/* library ProofOfPossessionCookieInfoManagerLib */
/* [version][uuid] */ 


EXTERN_C const IID LIBID_ProofOfPossessionCookieInfoManagerLib;

EXTERN_C const CLSID CLSID_ProofOfPossessionCookieInfoManager;

#ifdef __cplusplus

class DECLSPEC_UUID("A9927F85-A304-4390-8B23-A75F1C668600")
ProofOfPossessionCookieInfoManager;
#endif
#endif /* __ProofOfPossessionCookieInfoManagerLib_LIBRARY_DEFINED__ */

/* interface __MIDL_itf_proofofpossessioncookieinfo_0000_0002 */
/* [local] */ 

#endif /* WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) */
#pragma endregion


extern RPC_IF_HANDLE __MIDL_itf_proofofpossessioncookieinfo_0000_0002_v0_0_c_ifspec;
extern RPC_IF_HANDLE __MIDL_itf_proofofpossessioncookieinfo_0000_0002_v0_0_s_ifspec;

/* Additional Prototypes for ALL interfaces */

/* end of Additional Prototypes */

#ifdef __cplusplus
}
#endif

#endif


